package com.a2v2.online.store.service.dto;

import java.util.ArrayList;
import java.util.List;

import com.a2v2.online.store.common.dto.BaseDTO;
import com.a2v2.online.store.common.dto.MessageDTO;
import com.a2v2.online.store.service.constant.ServiceResponseStatus;

public class GenericResponse extends BaseDTO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2251282002563206154L;

	private ServiceResponseStatus status;
	
	private List<MessageDTO> messages = new ArrayList<MessageDTO>();

	public GenericResponse() {
	//	this.status = ServiceResponseStatus.SUCCESS;
	}

	public List<MessageDTO> getMessages() {
		return messages;
	}

	public ServiceResponseStatus getStatus() {
		return status;
	}

	public void setStatus(ServiceResponseStatus status) {
		this.status = status;
	}
}
